import http from '@/utils/http'

//菜谱分类列表查询
export function findCookbookCategoryList(data) {
    return http.post('/api/cookbook/category/findList', data)
}

// 新增
export function addCookbookCategory(data) {
    return http.post('/api/cookbook/category/add', data)
}

//修改
export function editCookbookCategory(data) {
    return http.post('/api/cookbook/category/edit', data)
}

//删除
export function deleteCookbookCategory(data) {
    return http.post(`/api/cookbook/category/delete/${data}`)
}
